package apiday01;

public class TrimDemo {
    public static void main(String[] args) {
        String str = "  hello world     ";
        int len = str.trim().length();
        System.out.println(str+len);
    }
}
